package ru.spbau.design.snmp.android.viewer.searcher;

import java.util.ArrayList;
import java.util.List;

import ru.spbau.design.snmp.android.viewer.model.NetNode;
import ru.spbau.design.snmp.android.viewer.model.Network;
import ru.spbau.design.snmp.android.viewer.model.Router;
import ru.spbau.design.snmp.android.viewer.model.SubNet;

public class SearchResult {
		
	public SearchResult() {
		super();
		this.networks = new ArrayList<Network>();
		this.subNets = new ArrayList<SubNet>();
		this.routers = new ArrayList<Router>();
		this.netNodes = new ArrayList<NetNode>();
	}
	
	public List<Network> getNetworks() {
		return networks;
	}
	
	public List<SubNet> getSubNetworks() {
		return subNets;
	}
	
	public List<Router> getRouters() {
		return routers;
	}
	
	public List<NetNode> getNetNodes() {
		return netNodes;
	}

	public void addNetwork(Network network) {
		networks.add(network);
	}
	
	public void addSubNet(SubNet subNet) {
		subNets.add(subNet);
	}
	
	public void addRouter(Router router) {
		routers.add(router);
	}
	
	public void addNetNode(NetNode netNode) {
		netNodes.add(netNode);
	}

	private final List<Network> networks;
	private final List<SubNet> subNets;
	private final List<Router> routers;
	private final List<NetNode> netNodes;
}
